{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}I Love U{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>你好, {% if name %}{{ name }}{% else %}游客{% endif %}!</h1>
</div>
{{ wtf.quick_form(form) }}
<div class="footer">
    {{ moment.lang('cn') }}
    <p class="bottom-left">
        The local date and time is: {{ moment(current_time).format('LLL') }}
    </p>
    <p class="bottom-left">
        That was: {{ moment(current_time).fromNow(refresh=True) }}
    </p>
</div>
{% endblock %}